package com.lawrence.service;


import org.junit.Test;

/**
 * 测试代理类
 * @author wanglanglang
 */
public class UserServiceTest {
    @Test
    public void userServiceProxyTest() {
        UserServiceImpl userService = new UserServiceImpl();
        UserServiceProxyImpl userServiceProxy = new UserServiceProxyImpl();
        userServiceProxy.setUserService(userService);
        userServiceProxy.add();
        userServiceProxy.delete();
        userServiceProxy.update();
        userServiceProxy.select();
    }
}
